<?php
/**
 *
 * @user: leo
 * @date: 2021/6/22
 * @createTime: 13:38
 * @company: 迈酷网络科技 http://www.maicooit.com
 */
namespace app\admin\logic\user;

use app\BaseController;
use app\admin\model\Groups as GroupsModel;

class Groups extends  BaseController {
    //分组列表
    public static function GroupListLogic($key,$domain_id,$page,$pagesize){
        $groups = new GroupsModel();
        $list = $groups->GroupListModel($key,$domain_id,$page,$pagesize);
        return $list;
    }
    //分组新增
    public static function GroupAddLogic($info){
        $groups = new GroupsModel();
        $res = $groups->GroupInsertModel($info);
        return $res;
    }
    //分组编辑
    public static function GroupSaveLogic(){
    }
    //分组禁用
    public static function GroupDisableEableLogic(){
    }
    //分组删除
    public static function GroupDelLogic(){
    }
}